package com.itheima.search.constant;

/**
 * MQ消息通用常量
 */
public class MqConstants {

    // 交换机常量
    public static final String NEWS_INIT_EXCHANGE = "news.init.exchange";
    public static final String NEWS_EXCHANGE = "news.init.topic";

    // 路由key常量
    public static final String NEWS_INIT_ROUTING_KEY = "news.init";
    public static final String NEWS_ADD_ROUTING_KEY = "news.message";
    public static final String NEWS_DEL_ROUTING_KEY = "news.delete";
    public static final String NEWS_UDP_ROUTING_KEY = "news.update";

    // 队列常量
    public static final String NEWS_GET_QUEUE = "news.get.queue";
    public static final String NEWS_DEL_QUEUE = "news.del.queue";
    public static final String NEWS_UDP_QUEUE = "news.udp.queue";

}
